package com.linkwedo.saas.users;

import java.util.List;

import com.linkwedo.saas.domain.member.Team;
import com.opensymphony.xwork2.ActionSupport;

public class LoadTeamAction extends ActionSupport{
	private static final long serialVersionUID = 8190003683775267839L;
	List<Team> list;
	private TeamService TeamService;
	

	public TeamService getTeamService() {
		return TeamService;
	}

	public void setTeamService(TeamService TeamService) {
		this.TeamService = TeamService;
	}

	public List<Team> getList() {
		return list;
	}

	public void setList(List<Team> list) {
		this.list = list;
	}


	public static long getSerialversionuid() {
		return serialVersionUID;
	}
	
	public String execute() throws Exception {
	
		//ProjectDao pdao=new ProjectDao();
		list=getTeamService().findAll();
			return "SUCCESS";
	}
	
	}
